package com.jk.service.impl;

import com.jk.bean.Daohang;
import com.jk.bean.GongGao;
import com.jk.mapper.DaoHangMapper;
import com.jk.service.DaoHangService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 骚骚的🐏
 * @Author: 杨
 * @Date: 2019/3/5 20:14
 */
@Service
public class DaoHangServiceImpl implements DaoHangService {
    @Autowired
    private DaoHangMapper daoHangMapper;
   //查询导航条
    @Override
    public List<Daohang> querydaohang() {

        List<Daohang> list= daoHangMapper.querydaohang();
        return list;
    }

    @Override
    public List<GongGao> queryGongGao() {
        List<GongGao> list= daoHangMapper.queryGongGao();
        return list;
    }
    //重大公告
    @Override
    public List<GongGao> queryGongGaoZhong() {
        List<GongGao> list= daoHangMapper.queryGongGaoZhong();
        return list;
    }


}
